package com.jishulianmeng.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Module entity. @author monologu
 */

public class Module implements java.io.Serializable {

	// Fields

	private long moduleId;
	private String moduleName;
	private String moduleInfo;
	private short moduleStatus;
	private String moduleRemark;
	private Set literatures = new HashSet(0);

	// Constructors

	/** default constructor */
	public Module() {
	}

	/** minimal constructor */
	public Module(String moduleName) {
		this.moduleName = moduleName;
	}

	/** full constructor */
	public Module(String moduleName, String moduleInfo, short moduleStatus,
			String moduleRemark, Set literatures) {
		this.moduleName = moduleName;
		this.moduleInfo = moduleInfo;
		this.moduleStatus = moduleStatus;
		this.moduleRemark = moduleRemark;
		this.literatures = literatures;
	}

	// Property accessors

	public long getModuleId() {
		return this.moduleId;
	}

	public void setModuleId(long moduleId) {
		this.moduleId = moduleId;
	}

	public String getModuleName() {
		return this.moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getModuleInfo() {
		return this.moduleInfo;
	}

	public void setModuleInfo(String moduleInfo) {
		this.moduleInfo = moduleInfo;
	}

	public short getModuleStatus() {
		return this.moduleStatus;
	}

	public void setModuleStatus(short moduleStatus) {
		this.moduleStatus = moduleStatus;
	}

	public String getModuleRemark() {
		return this.moduleRemark;
	}

	public void setModuleRemark(String moduleRemark) {
		this.moduleRemark = moduleRemark;
	}

	public Set getLiteratures() {
		return this.literatures;
	}

	public void setLiteratures(Set literatures) {
		this.literatures = literatures;
	}

}